Week 4

Electronics Production

- This week will be all about knowing how to make a PCB(ISP-In-system programming), that is a Printed Circuit Board, using an end mill, and then learning how to solder components on the board, to make an ISP. Basically, an ISP (In-System Programming) is a circuit that you program so that it can then be used to program micro controllers on other boards.

 

 The PCB milling machine on fablab is the one shown above

The PCB design
The first thing we had to was to pick a model for the fabrication of our PCB, among the examples given during the week’s lecture. I am completely new to this, so before I could decide anything, I had to learn more about how a PCB works, how it is designed, more importantly what is the role of each component and finally what could be the advantages of this or that board. To do so, I looked into all of the pages provided on this week's lecture page,
Here

Then I dove back into my Arduino starter kit to remind some of basin principles that would help me be more comfortable with general electronics.

Finally we choose

 

I generated the CAM processed file (.cmp) so that the PCB machine code  which can be usedto load in the software Cirqwizard

 

 

 

 

 

 


 

 

I checked connections before generating the Isp board from schematic, Isp board arranged before tracing


 

 

 

to trace board I used grid size 0.025 inch and alt 0.05 inch, below is the Isp

Bits used for the milling and contour cutting are

0.2-0.5 2.0 mm

 

 
 

then I hide all layers in Isp board to prepare for milling here is the board

 

 

 

I changed the bit after milling the traces.

 

 

I later add fab library in eagle and replace some components to have them compatible with the ones I will use (1206 smd ) so this way no additional corrections are needed in eagle

 

After getting the board milled from the machine,I soldered the components in respective slots

 

As a beginner in soldering the things,It was very difficult. But as per the instructors instruction I feel better. Soldering helping hand,fume extractor and other tools are used to complete my task

here is my  board

 

 

 
 

program

for the programming of isb in ubuntu first want install AVRdude for the communicating in our code .

Open Terminal and type:

  sudo apt-get install flex byacc bison gcc libusb-dev avrdude  

gcc-avr is a compailer for the gcc- avr installetion type:

  sudo apt-get install gcc-avr

type “y” when asked to do so by your system

after install avr-libc.AVR Libc is a Free Software project whose goal is to provide a high quality C library for use with GCC on AVR microcontrollers

Then type:

  sudo apt-get install avr-libc

programming steps

Type :

  make clean    

Type:

  make hex

then Type:

  make fuse

Next step is program the board to be an ISP for that type:

  make program

if it all are ok then we will get a successful message